package com.ucombuy.youdiangou.service;

import com.ucombuy.youdiangou.common.BusinessException;
import com.ucombuy.youdiangou.model.CategoryModel;

import java.util.List;

/**
 * Created by yaosheng on 2021/11/15.
 */
public interface ICategoryService {

    CategoryModel create(CategoryModel categoryModel) throws BusinessException;

    CategoryModel get(Integer id);

    List<CategoryModel> selectAll();

    Integer countAllCategory();
}
